<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Home - Indica</title>
    <c:set var="raiz" value="${pageContext.request.contextPath}" />
</head>
<body>
	<hr>
	<h1> <center> INDICA </center> </h1>
	<hr>
	<ul>
	<font color="red">${erro}</font>
	

	<fieldset>
	<form method="POST" action="${raiz}/pessoacrud">
		<br> <center> <label>Login: </label> <input type="text" name="login" id="nome"> </center> 
		<br> <center> <label>Senha: </label> <input type="password" name="senha"> </center>
		<br> <center> <input type="submit" value="Enviar">  </center>
		<input type="hidden" name="acao" value="logar" />
	</form>
	</fieldset> <br>
	
	<fieldset>
	<ul>
  		<center><a href="${raiz}/pessoacrud">Cadastra-se Aqui</a></center>
	</ul>
	</fieldset>
	</ul>
</body>
</html>